﻿using CommandLine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NugetDownloaderCommandline
{
    class Options
    {
        [Option('q', "query", Default = "", HelpText = "query string.")]
        public string Query { get; set; }

        // Omitting long name, defaults to name of property, ie "--verbose"
        [Option('s', "start", Default = 1, HelpText = "Start Page Number.")]
        public int Start { get; set; }

        [Option('e', "end", Default = 10, HelpText = "End Page Number.")]
        public int End { get; set; }

        [Option('p', "prerel", Default = false, HelpText = "Is include prerelease.")]
        public bool Prerel { get; set; }
    }
}
